﻿using System;

namespace Engine.Shape
{
    internal class NonValidReturnException : ApplicationException
    {
        #region Public Constructors

        public NonValidReturnException(string msg,
            Exception inner)
            : base(msg, inner)
        {
        }

        public NonValidReturnException(string msg)
            : base(msg)
        {
            string errMsg = "\nThere is no valid return value available!";
            throw new NonValidReturnException(errMsg);
        }

        public NonValidReturnException()
            : base()
        {
        }

        #endregion Public Constructors
    }
}